﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace ThridGroup.ERP.DTO.ProductionSystemDto.CustomerOrderDto
{
    /// <summary>
    /// 查询客户订单参数
    /// </summary>
    public class GetCustomerOrderDto:EntityDto<int>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int page { get; set; } = 1;
        /// <summary>
        /// 每页行数
        /// </summary>
        public int limit { get; set; } = 10;
        /// <summary>
        /// 订单编码
        /// </summary>
        public string? OrderCode { get; set; }=string.Empty;
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? CustomerName { get; set; }=string.Empty ;

        /// <summary>
        /// 订货日期
        /// </summary>
        public DateTime? OrderTime { get; set; }
        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime? Delivery { get; set; }

        /// <summary>
        /// 订货日期-起始
        /// </summary>
        public DateTime? OrderTimeStart { get; set; }
        /// <summary>
        /// 订货日期-结束
        /// </summary>
        public DateTime? OrderTimeEnd { get; set; }
        /// <summary>
        /// 交货日期-起始
        /// </summary>
        public DateTime? DeliveryStart { get; set; }
        /// <summary>
        /// 交货日期-结束
        /// </summary>
        public DateTime? DeliveryEnd { get; set; }

        /// <summary>
        /// 当前页数据ID列表，用于导出当前页
        /// </summary>
        public List<int> CurrentPageIds { get; set; }

        /// <summary>
        /// 当前页数据顺序，用于保持导出顺序与显示顺序一致
        /// </summary>
        public List<int> CurrentPageOrder { get; set; }
    }
}
